package com.sdslzyxyhtgl.modules.zy.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sdslzyxyhtgl.common.utils.PageUtils;
import com.sdslzyxyhtgl.common.utils.Query;

import com.sdslzyxyhtgl.modules.zy.dao.IndustrydynamicsDao;
import com.sdslzyxyhtgl.modules.zy.entity.IndustrydynamicsEntity;
import com.sdslzyxyhtgl.modules.zy.service.IndustrydynamicsService;


@Service("industrydynamicsService")
public class IndustrydynamicsServiceImpl extends ServiceImpl<IndustrydynamicsDao, IndustrydynamicsEntity> implements IndustrydynamicsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<IndustrydynamicsEntity> page = this.page(
                new Query<IndustrydynamicsEntity>().getPage(params),
                new QueryWrapper<IndustrydynamicsEntity>().orderBy(true,false,"id")
        );

        return new PageUtils(page);
    }

}